<template>
  <div class="top">
    <div class="top_left">
      <a href="/haha">
        <h1>
          <img src="http://www.atguigu.com/images/index_new/logo.png">
        </h1>
      </a>
      <p>让天下没有难学的技术！</p>
    </div>
  </div>
</template>

<script setup>
</script>
<script>
export default {
  name:"Top"
}
</script>

<style scoped>
.top{
  box-sizing: border-box;
  margin: 0 auto;
  width: 1200px;
  height: 100px;
  padding-top: 23px;
}

.top_left{
  height: 54px;
  font-family: "Microsoft Yahei";
  float: left;
  position: relative;
}

.top_left a {
  display: block;
  float: left;
}

.top_left p {
  float: left;
  margin-left: 27px;
  line-height: 54px;
  font-size: 20px;
  color: rgba(39, 40, 72, 0.8);
}


.top_left::after {
  display: block;
  content: "";
  width: 2px;
  height: 35px;
  background: #f0f1f5;
  position: absolute;
  left: 218px;
  top: 8px;
}

</style>
